﻿using System.Web.Mvc;
using CID.Web.Models.Infrastructure;

namespace CID.Web.Support.TemplateContentEdition
{
    public static class TemplateContentEditionExtensions
    {
        public static MvcHtmlString TemplateContentEditor(this HtmlHelper<TemplateViewModel> html)
        {
            return html.ViewData.Model.ContentEditor.UserInterfaceDefinition.Apply(html);
        }
    }
}